/**
 * 
 */
package com.jie.eclipse.pan.popup.wizardpage;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

import com.jie.eclipse.pan.bind.BaseDataBind;
import com.jie.eclipse.pan.editors.utils.PanImageHelper;
import com.jie.eclipse.pan.popup.wizard.CreatePageTemplateWizard;

/**
 * @author yanjie
 *
 */
public class FinishPage extends BasePage{
	/**
	 * @param pageName
	 */
	public FinishPage() {
		super(CreatePageTemplateWizard.page_2,"",PanImageHelper.getInstance().getPanImageDescriptor());
		//设置标题消息
		this.setMessage("配置完成!");
	}
	
	@Override
	public void createControl(Composite parent) {
		BaseDataBind dataBind = this.getDataBind();
		Composite composite = new Composite(parent, SWT.NONE);
		composite.setLayout(new FillLayout());
		
		
		Label labe13 = new Label(composite, SWT.CENTER|SWT.MEDIUM);
		labe13.setText("最后一页了,点击完成吧!");
		setControl(composite);
	}
}
